/**
 * Divider
 */
import React from 'react';
import {
  View,
} from 'react-native';

const Divider = ({
  vertical = 8,
  horizontal = 0,
  height = 0,
  color = '#ccc',
}) => (
  <View
    style={[
      {
        marginVertical: vertical,
        marginHorizontal: horizontal,
        height,
        backgroundColor: color,
      },
    ]}
  />
);

export default Divider;
